import React, { FC, useState } from "react"
import styles from "./List.module.css"
import QuestionCart from "../components/QuestionCard"

const List: FC = () => {
  const [list, setList] = useState([
    {
      id: "q1",
      title: "问卷1",
      isPublished: false,
      isStar: false,
      answerCount: 5,
      createAt: "3月10日 13：23",
    },
    {
      id: "q2",
      title: "问卷2",
      isPublished: true,
      isStar: true,
      answerCount: 5,
      createAt: "3月10日 13：23",
    },
    {
      id: "q3",
      title: "问卷3",
      isPublished: false,
      isStar: false,
      answerCount: 5,
      createAt: "3月10日 13：23",
    },
    {
      id: "q4",
      title: "问卷4",
      isPublished: true,
      isStar: false,
      answerCount: 5,
      createAt: "3月10日 13：23",
    },
  ])
  return (
    <>
      <p>List</p>
    </>
  )
}
export default List
